package day7.Exer;

public class Parrot extends Pet {
    public Parrot(String name,double weight,String vari){
        super(name,weight,vari);
    }
    public void fly(){
        System.out.println(getName()+"在飞！");
    }
    public void introduct(){
        super.introduct();
    }
    public void eat(){
        super.eat();
    }
    public void sleep(){
        super.slepp();
    }
}
